package com.mianyang.zhangsan.plugin.quartz.core;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 控制台打印
 * @author jiangjr
 * @date 2022-11-25
 */
@Slf4j
@Component
public class ConsolePrint {

    public void console(Map<String, Object> param) {
        log.info("控制台打印任务正在执行-{}", param.get("message"));
        System.out.println("---------------" + param.get("message") + "---------------");
    }
}
